$OpenBSD: patch-ext_Makefile_am,v 1.8 2012/09/06 14:30:59 ajacoutot Exp $
--- ext/Makefile.am.orig	Sun Dec 11 19:48:10 2011
+++ ext/Makefile.am	Thu Sep  6 15:31:25 2012
@@ -107,6 +107,12 @@ else
 SHOUT2_DIR =
 endif
 
+if USE_SNDIO
+SNDIO_DIR = sndio
+else
+SNDIO_DIR =
+endif
+
 if USE_SOUP
 SOUP_DIR=soup
 else
@@ -150,6 +156,7 @@ SUBDIRS = \
 	$(MIKMOD_DIR) \
 	$(PULSE_DIR) \
 	$(SHOUT2_DIR) \
+	$(SNDIO_DIR) \
 	$(SOUP_DIR) \
 	$(SPEEX_DIR) \
 	$(TAGLIB_DIR) \
@@ -172,6 +179,7 @@ DIST_SUBDIRS = \
 	pulse \
 	raw1394 \
 	shout2 \
+	sndio \
 	soup \
 	speex \
 	taglib \
